import 'package:fish_redux/fish_redux.dart';
import 'package:www.znpigai.teacher/practice_list_page/adapter/adapter.dart';

import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class PracticeListPage extends Page<PracticeListState, Map<String, dynamic>> {
  PracticeListPage()
      : super(
          initState: initState,
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<PracticeListState>(
              adapter: NoneConn<PracticeListState>() + PracticeAdapter(),
              slots: <String, Dependent<PracticeListState>>{}),
          middleware: <Middleware<PracticeListState>>[
            logMiddleware(tag: 'PracticeListPage'),
          ],
        );
}
